package five_class_design_creational_patterns.five_builderPattern;

/**
 * @author 北巷_东坡
 * @date 2022/10/16 9:34
 * @computer 10741
 */
public class ComputerDirector206 {
    private ComputerBuilder206 cb;

    public void setCb(ComputerBuilder206 cb) {
        this.cb = cb;
    }

    public Computer206 construce(){
        cb.buildCPUs();
        cb.buildDisplay();
        cb.buildhardwareEquipment();

        return cb.getComputer206();
    }
}
